package cn.tt.moudles.sys.service.impl;

import cn.tt.moudles.sys.entity.Demo;
import cn.tt.moudles.sys.mapper.DemoMapper;
import cn.tt.moudles.sys.service.DemoService;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Description
 * @Date 2017/7/29 17:03
 * @Since v1.7
 * @Autor Nick
 */
@Service
public class DemoServiceImpl extends ServiceImpl<DemoMapper, Demo> implements DemoService {

	@Override
	public boolean deleteAll() {
		return retBool(baseMapper.deleteAll());
	}

	@Override
	public List<Demo> selectListBySQL() {
		return baseMapper.selectListBySQL();
	}
}
